﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;
using WindowsFormsApplication1.GameForms;

namespace WindowsFormsApplication1
{
    public partial class BasePage : Form
    {

        public BasePage()
        {
            InitializeComponent();
        }

        #region PlayerNameLabels
        public string player1Name
        {
            get { return this.lblPlayer1.Text; }
            set 
            { 
                this.lblPlayer1.Text = value;
                this.Refresh();
            }
        }

        public string player2Name
        {
            get { return this.lblPlayer2.Text; }
            set 
            { 
                this.lblPlayer2.Text = value;
                this.Refresh();
            }
        }
        public string player3Name
        {
            get { return this.lblPlayer3.Text; }
            set 
            { 
                lblPlayer3.Text = value;
                Refresh();
            }
        }
        public string player4Name
        {
            get { return this.lblPlayer4.Text; }
            set 
            { 
                this.lblPlayer4.Text = value;
                this.Refresh();
            }
        }
        #endregion

        private void singlesCricketToolStripMenuItem_Click(object sender, EventArgs e)
        {

            CricketSetup form2 = new CricketSetup();
            form2.ShowDialog();

        }
    }
}
